package com.imchenio.utils.parallel.runnable.impl;

import com.imchenio.utils.parallel.runnable.ChannelRunnable;
import lombok.SneakyThrows;

public class LogChannelRunnable extends ChannelRunnable<LogEntry> {
    @SneakyThrows
    @Override
    public void run() {
        LogEntry logEntry = this.blockingQueue.take();
        logEntry.print();
    }
}
